package com.up.mongo.core;

/**
 * @Title:
 * @Author: fxp
 * @Date: 2022/11/15 14:57
 * @Desc:
 */
public class MongoField {
    private String localField;
    private String foreignField;
    private Object filedValue;
    public MongoField(){

    }
    public MongoField(String localField, Object filedValue){
        this.localField = localField;
        this.filedValue = filedValue;
    }
    public MongoField(String localField, String foreignField){
        this.localField = localField;
        this.foreignField = foreignField;
    }


    public String getLocalField() {
        return localField;
    }

    public void setLocalField(String localField) {
        this.localField = localField;
    }

    public String getForeignField() {
        return foreignField;
    }

    public void setForeignField(String foreignField) {
        this.foreignField = foreignField;
    }

    public Object getFiledValue() {
        return filedValue;
    }

    public void setFiledValue(Object filedValue) {
        this.filedValue = filedValue;
    }
}
